package com.szy.douyou_classification.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.szy.douyou_classification.dao.Classification;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author sunziyan
 * @date 2022/1/6
 */
@Mapper
public interface ClassificationMapper extends BaseMapper<Classification> {

    /**
     * 帖子的分类改为未分类
     * @param classificationId
     * @return
     */
    Integer updateArticleClassificationWhenDelete(Long classificationId);

}
